//
//  MyAFNetWorkManager.h
//  BORGWORD
//
//  Created by 张国庆 on 15/11/18.
//  Copyright © 2015年 zgq. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface MyAFNetWorkManager : NSObject<UIAlertViewDelegate>


+(void) postWithParam:(NSDictionary *)dict andAction:(NSString*)actionStr finish:( void (^)(NSData *data,NSDictionary *obj, NSError *error))back;

+(void) getWithAction:(NSString*)actionStr andipstr:(NSString*)myip finish:(void (^)(NSData *,NSDictionary *obj, NSError *))back;

+(void) getWithAction:(NSString*)actionStr andParam:(NSDictionary*)dic andarr:(NSMutableArray*)ImageDataArr finish:(void (^)(NSData *,NSDictionary *obj, NSError *))back;


+(void)postWithParam:(NSMutableArray *)iamgeArr  mainImage:(NSMutableArray *)iamgeArr parameters:(NSDictionary *)PostDic  andActionString:(NSString *)actionStr  finish:(void (^)(NSData *, NSDictionary *, NSError *))back;

+(void)postWithParamImage:(NSData *)mainImageData parameters:(NSDictionary *)PostDic  andActionString:(NSString *)actionStr  finish:(void (^)(NSData *, NSDictionary *, NSError *))back;//单张上传

+(void) postWithParam:(NSDictionary *)dict imageArr:(NSArray *)imageArr andAction:(NSString*)actionStr finish:( void (^)(NSData *data,NSDictionary *obj, NSError *error))back;

@end
